The Reset method sets the hit count for a specified Web page to 0.
Reset([pathInfo])
None.
Mypage.asp
.<% Set MyPageCounter = Server.CreateObject("IISSample.PageCounter") MyPageCounter.Reset MyPageCounter.Reset("/VirtualDir1/Mypage.asp") %> (The following two values should be 0) <BR> Hits to this page = <%= MyPageCount.Hits %> <BR> Hits to Mypage.asp = <%= MyPageCount.Hits("/VirtualDir1/Mypage.asp") <BR>